<template>
  <scroll-view style="height: 900rpx" :scroll-y="true" @scroll="scroll">
    <CustomNavBar ref="customNavBarRefs" backgroundColor="#0ff"/>
    <view class="ss"> 123123 </view>
  </scroll-view>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  mounted() {},
  methods: {
    scroll(e) {
      this.$refs.customNavBarRefs.scroll(e);
    },
  },
};
</script>
<style lang="scss" scoped>
.ss {
  width: 100vw;
  height: 300vh;
  background: linear-gradient(to bottom, yellow, #000);
}
</style>
